<!--
 * @Author: xuzehan 935351619@qq.com
 * @Date: 2023-11-14 09:54:03
 * @LastEditors: xuzehan 935351619@qq.com
 * @LastEditTime: 2024-05-07 15:55:13
 * @FilePath: \nms-vue\src\views\antiInterferenceStrategy\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <a-tabs default-active-key="1" @change="callback">
    <a-tab-pane key="1" tab="星弹上行频点切换">
      <frequencySwitching ref="frequencySwitching" />
    </a-tab-pane>
    <a-tab-pane key="2" tab="星弹下行速率切换">
      <rateSwitching  ref="rateSwitching"/>
    </a-tab-pane>
  </a-tabs>
</template>

<script>
import frequencySwitching from './components/frequencySwitching'
import rateSwitching from './components/rateSwitching'
export default {
  components: {
    frequencySwitching,
    rateSwitching,
  },
  data() {
    return {}
  },
  methods: {
    callback(val) {
      if (val == 1) {
        this.$refs.frequencySwitching.loadData()
      }else if(val == 2){
        this.$refs.rateSwitching.getModalList()
      }
    },
  },
}
</script>

<style></style>
